package main.java.反射5;

/**
 * @Auther:Liu
 * @Testname:Student
 * @Date:2025/3/13 16:20
 */
public class Student {
    private Integer stu_id;
    private String stu_name;
    private Integer stu_age;
    private  String stu_sex;
    private  String stu_phone;
    private  String stu_address;

    public Student() {
    }

    public Student(Integer stu_id, String stu_name, Integer stu_age, String stu_sex, String stu_phone, String stu_address) {
        this.stu_id = stu_id;
        this.stu_name = stu_name;
        this.stu_age = stu_age;
        this.stu_sex = stu_sex;
        this.stu_phone = stu_phone;
        this.stu_address = stu_address;
    }

    /**
     * 获取
     * @return stu_id
     */
    public Integer getStu_id() {
        return stu_id;
    }

    /**
     * 设置
     * @param stu_id
     */
    public void setStu_id(Integer stu_id) {
        this.stu_id = stu_id;
    }

    /**
     * 获取
     * @return stu_name
     */
    public String getStu_name() {
        return stu_name;
    }

    /**
     * 设置
     * @param stu_name
     */
    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    /**
     * 获取
     * @return stu_age
     */
    public Integer getStu_age() {
        return stu_age;
    }

    /**
     * 设置
     * @param stu_age
     */
    public void setStu_age(Integer stu_age) {
        this.stu_age = stu_age;
    }

    /**
     * 获取
     * @return stu_sex
     */
    public String getStu_sex() {
        return stu_sex;
    }

    /**
     * 设置
     * @param stu_sex
     */
    public void setStu_sex(String stu_sex) {
        this.stu_sex = stu_sex;
    }

    /**
     * 获取
     * @return stu_phone
     */
    public String getStu_phone() {
        return stu_phone;
    }

    /**
     * 设置
     * @param stu_phone
     */
    public void setStu_phone(String stu_phone) {
        this.stu_phone = stu_phone;
    }

    /**
     * 获取
     * @return stu_address
     */
    public String getStu_address() {
        return stu_address;
    }

    /**
     * 设置
     * @param stu_address
     */
    public void setStu_address(String stu_address) {
        this.stu_address = stu_address;
    }

    public String toString() {
        return "Student{stu_id = " + stu_id + ", stu_name = " + stu_name + ", stu_age = " + stu_age + ", stu_sex = " + stu_sex + ", stu_phone = " + stu_phone + ", stu_address = " + stu_address + "}";
    }
}
